<?php

namespace App\Models;

use Illuminate\Database\Eloquent\Model;

/**
 * 商品表
 *
 * @package App\Models
 *
 */
class Goods extends Model
{
    protected $guarded = [];

    const STATUS_OFF_SALE = 0;
    const STATUS_ON_SALE = 1;

    public function category()
    {
        return $this->belongsTo(Category::class);
    }
}
